package com.yswwpp.dpai.entity;

public class Role extends Entity<Role> {

	private static final long serialVersionUID = 5811126208776370138L;

	private String roleCode; // 角色code
	private String roleName; // 角色名称
	private String companyCode; // 归属企业
	private String companyName;// 归属企业名称
	private String parentRoleCode; // 父角色code
	private String parentRoleName; // 父角色名称

	public String getRoleCode() {
		return roleCode;
	}

	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getParentRoleCode() {
		return parentRoleCode;
	}

	public void setParentRoleCode(String parentRoleCode) {
		this.parentRoleCode = parentRoleCode;
	}

	public String getParentRoleName() {
		return parentRoleName;
	}

	public void setParentRoleName(String parentRoleName) {
		this.parentRoleName = parentRoleName;
	}

	@Override
	public String toString() {
		return "Role [roleCode=" + roleCode + ", roleName=" + roleName + ", companyCode=" + companyCode
				+ ", companyName=" + companyName + ", parentRoleCode=" + parentRoleCode + ", parentRoleName="
				+ parentRoleName + "]";
	}
}
